package com.ruoyi.wms.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 调拨单对象 wms_transfer
 * 
 * @author ruoyi
 * @date 2022-03-28
 */
public class WmsTransfer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String tranUuid;

    /** 仓库（字典表）调出仓库 */
    @Excel(name = "仓库", readConverterExp = "字=典表")
    private String dictWarehouseFrom;

    /** 仓库（字典表）调入仓库 */
    @Excel(name = "仓库", readConverterExp = "字=典表")
    private String dictWarehouseTo;

    /** 状态（正常、停用，字典表） */
    @Excel(name = "状态", readConverterExp = "正=常、停用，字典表")
    private String sysNormalDisable;

    /** 单据标题 */
    @Excel(name = "单据标题")
    private String docTitle;

    /** 单据编号 */
    @Excel(name = "单据编号")
    private String docNum;

    /** 单据时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "单据时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date docDt;

    /** 备注 */
    @Excel(name = "备注")
    private String docNote;

    /** 经办人ID（用户表ID） */
    @Excel(name = "经办人ID", readConverterExp = "用=户表ID")
    private Long fkAttentionUserId;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date confirmDt;

    /** 审核状态（字典表） */
    @Excel(name = "审核状态", readConverterExp = "字=典表")
    private String oaDictConfirmStatus;

    /** 审核意见 */
    @Excel(name = "审核意见")
    private String confirmNote;
    private String stockNameFrom;
    private String stockNameTo;

    public String getStockNameFrom() {
        return stockNameFrom;
    }

    public void setStockNameFrom(String stockNameFrom) {
        this.stockNameFrom = stockNameFrom;
    }

    public String getStockNameTo() {
        return stockNameTo;
    }

    public void setStockNameTo(String stockNameTo) {
        this.stockNameTo = stockNameTo;
    }

    /** 调拨单明细信息 */
    private List<WmsTransferDetail> wmsTransferDetailList;

    public void setTranUuid(String tranUuid) 
    {
        this.tranUuid = tranUuid;
    }

    public String getTranUuid() 
    {
        return tranUuid;
    }
    public void setDictWarehouseFrom(String dictWarehouseFrom) 
    {
        this.dictWarehouseFrom = dictWarehouseFrom;
    }

    public String getDictWarehouseFrom() 
    {
        return dictWarehouseFrom;
    }
    public void setDictWarehouseTo(String dictWarehouseTo) 
    {
        this.dictWarehouseTo = dictWarehouseTo;
    }

    public String getDictWarehouseTo() 
    {
        return dictWarehouseTo;
    }
    public void setSysNormalDisable(String sysNormalDisable) 
    {
        this.sysNormalDisable = sysNormalDisable;
    }

    public String getSysNormalDisable() 
    {
        return sysNormalDisable;
    }
    public void setDocTitle(String docTitle) 
    {
        this.docTitle = docTitle;
    }

    public String getDocTitle() 
    {
        return docTitle;
    }
    public void setDocNum(String docNum) 
    {
        this.docNum = docNum;
    }

    public String getDocNum() 
    {
        return docNum;
    }
    public void setDocDt(Date docDt) 
    {
        this.docDt = docDt;
    }

    public Date getDocDt() 
    {
        return docDt;
    }
    public void setDocNote(String docNote) 
    {
        this.docNote = docNote;
    }

    public String getDocNote() 
    {
        return docNote;
    }
    public void setFkAttentionUserId(Long fkAttentionUserId) 
    {
        this.fkAttentionUserId = fkAttentionUserId;
    }

    public Long getFkAttentionUserId() 
    {
        return fkAttentionUserId;
    }

    public void setConfirmDt(Date confirmDt) 
    {
        this.confirmDt = confirmDt;
    }

    public Date getConfirmDt() 
    {
        return confirmDt;
    }
    public void setOaDictConfirmStatus(String oaDictConfirmStatus) 
    {
        this.oaDictConfirmStatus = oaDictConfirmStatus;
    }

    public String getOaDictConfirmStatus() 
    {
        return oaDictConfirmStatus;
    }
    public void setConfirmNote(String confirmNote) 
    {
        this.confirmNote = confirmNote;
    }

    public String getConfirmNote() 
    {
        return confirmNote;
    }

    public List<WmsTransferDetail> getWmsTransferDetailList()
    {
        return wmsTransferDetailList;
    }

    public void setWmsTransferDetailList(List<WmsTransferDetail> wmsTransferDetailList)
    {
        this.wmsTransferDetailList = wmsTransferDetailList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("tranUuid", getTranUuid())
            .append("dictWarehouseFrom", getDictWarehouseFrom())
            .append("dictWarehouseTo", getDictWarehouseTo())
            .append("sysNormalDisable", getSysNormalDisable())
            .append("docTitle", getDocTitle())
            .append("docNum", getDocNum())
            .append("docDt", getDocDt())
            .append("docNote", getDocNote())
            .append("fkAttentionUserId", getFkAttentionUserId())
            .append("fkConfirmUserId", getFkConfirmUserId())
            .append("confirmDt", getConfirmDt())
            .append("oaDictConfirmStatus", getOaDictConfirmStatus())
            .append("confirmNote", getConfirmNote())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("wmsTransferDetailList", getWmsTransferDetailList())
            .toString();
    }
}
